package com.ruoyi.project.mall.service.impl;

import com.ruoyi.project.mall.dao.MallInvoiceShopDao;
import com.ruoyi.project.mall.domain.MallInvoiceShopDO;
import com.ruoyi.project.mall.service.MallInvoiceShopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class MallInvoiceShopServiceImpl implements MallInvoiceShopService {
	@Autowired
	private MallInvoiceShopDao mallInvoiceShopDao;
	
	@Override
	public MallInvoiceShopDO get(String id){
		return mallInvoiceShopDao.get(id);
	}
	
	@Override
	public List<MallInvoiceShopDO> list(Map<String, Object> map){
		return mallInvoiceShopDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return mallInvoiceShopDao.count(map);
	}
	
	@Override
	public int save(MallInvoiceShopDO mallInvoiceShop){
		return mallInvoiceShopDao.save(mallInvoiceShop);
	}
	
	@Override
	public int update(MallInvoiceShopDO mallInvoiceShop){
		return mallInvoiceShopDao.update(mallInvoiceShop);
	}
	
	@Override
	public int remove(String id){
		return mallInvoiceShopDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return mallInvoiceShopDao.batchRemove(ids);
	}

    @Override
    public List<MallInvoiceShopDO> likeList(Map<String, Object> map){
        return mallInvoiceShopDao.likeList(map);
    }
    @Override
    public int likeListCount(Map<String, Object> map){
        return mallInvoiceShopDao.likeListCount(map);
    }
	
}
